package org.example.mbg.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.example.mbg.model.TPeony;
import org.example.mbg.model.TPeonyExample;

public interface TPeonyMapper {
    long countByExample(TPeonyExample example);

    int deleteByExample(TPeonyExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TPeony record);

    int insertSelective(TPeony record);

    List<TPeony> selectByExampleWithBLOBs(TPeonyExample example);

    List<TPeony> selectByExample(TPeonyExample example);

    TPeony selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TPeony record, @Param("example") TPeonyExample example);

    int updateByExampleWithBLOBs(@Param("record") TPeony record, @Param("example") TPeonyExample example);

    int updateByExample(@Param("record") TPeony record, @Param("example") TPeonyExample example);

    int updateByPrimaryKeySelective(TPeony record);

    int updateByPrimaryKeyWithBLOBs(TPeony record);

    int updateByPrimaryKey(TPeony record);
}